const { follow, unfollow, findAll } = require('../controller/fans')

const router = require('koa-router')()
router.prefix('/fans')
router.post('/follow', follow)
router.post('/unfollow', unfollow)
router.get('/findAll', findAll)
module.exports = router